package com.dj.dormitory.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dj.dormitory.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author DJ同学
 * @since 2021-01-24
 */
public interface UserService extends IService<User> {

    User login(User input_user);

    Page<User> getPartList(Map input_data);

    boolean addUsers(MultipartFile file) throws IOException;


}
